import XCTest
@testable import RandomName

final class RandomNameTests: XCTestCase {
    func testExample() throws {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct
        // results.
        XCTAssertEqual(RandomName().text, "Hello, World!")
    }
    
    func testLine() throws {
        
        // MARK: - Usage

        let iter = try LineIterator(url: URL(fileURLWithPath: "/Users/lizhongkai/Documents/doc/random-name/Sources/RandomName/mile.first"))
        for line in iter {
            print(line)
        }
    }
}
